import request from "@/utils/request";
import { DepartTempQuery, DepartTempPageResult, DepartTempForm, DepartTemp } from "./model";

/**
 * 艺术架构模板内容API
 */
class DepartTempAPI {

  static getDepartTemp(data: DepartTempQuery) {
    return request<any, DepartTemp>({
      url: "/departTemp/getDepartTemp",
      method: "post",
      data: data,
    });
  }

  static saveDepartTemp(data: DepartTempQuery) {
    return request<any, DepartTemp>({
      url: "/departTemp/saveDepartTemp",
      method: "post",
      data: data,
    });
  }

}

export default DepartTempAPI;
